package com.cnseedlingscloud.draw;

import com.cnseedlingscloud.draw.prize.dao.TurntableDrawDao;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.Resource;

@SpringBootApplication

public class DrawApplication implements CommandLineRunner {

    public static void main(String[] args) {

        SpringApplication.run(DrawApplication.class, args);
    }
    @Resource
    private TurntableDrawDao turntableDrawDao;

    @Override
    public void run(String... args) throws Exception {
        //System.out.println(turntableDrawDao.findById(1L).getDrawName());
    }
}
